﻿package com.eitb.programas.streamingTest.properties{
	import flash.display.*;
	public class StageProperties {
		public static const CUATROTERCIOS=4/3;
		public static const DIECISEISNOVENOS=16/9;
		public static const BUTTONS_ALPHA:Number=.98;

		public static const CUATROTERCIOS_UNA_COLUMNA:Object = {
		STAGE:{width:300,height:300/StageProperties.CUATROTERCIOS,align:StageAlign.TOP_LEFT,scaleMode:StageScaleMode.NO_SCALE},
		BACKGROUND:{width:300*.8, height:300/StageProperties.CUATROTERCIOS*.8, alpha:.35,color:0x000000},
		VIDEO:{x:0,y:0,width:300,height:300/StageProperties.CUATROTERCIOS,deblocking:5,smoothing:true},
		PORTADA:{x:0,y:0,width:300,height:300/StageProperties.CUATROTERCIOS, cacheAsBitmap:true},
		PLAY_BUTTON:{x:300*.5,y:300/StageProperties.CUATROTERCIOS*.5,alpha:.98},
		PAUSE_BUTTON:{x:300*.5,y:300/StageProperties.CUATROTERCIOS*.45,alpha:.98},
		STOP_BUTTON:{x:300*.25,y:300/StageProperties.CUATROTERCIOS*.65,alpha:.98},
		MAXIMIZE_BUTTON:{x:300*.75,y:300/StageProperties.CUATROTERCIOS*.65,alpha:.98},
		CARGADOR:{x:300*.5,y:300/StageProperties.CUATROTERCIOS*.65,alpha:.98},
		VOLUME:{ x:300*.1, y:300/StageProperties.CUATROTERCIOS*.1, width:80, minimum:0, maximum:100, value:80,
		      BACKGROUND:{width:300*.8,height:300/StageProperties.CUATROTERCIOS*.1,alpha:.5,color:0x0022EE}, 
		      POINTER:{width:300*.8,height:300/StageProperties.CUATROTERCIOS*.1,alpha:.5,color: 0x00FF11},
		      TEXT:{ color:"#FFFFFF", fontStyle:"Courier New", textAlign:"left", fontSize:"16px" }
		      },
		TIMELINE:{ x:300*.1, y:300/StageProperties.CUATROTERCIOS*.8, width:80, minimum:0, maximum:100, value:80,
		      BACKGROUND:{width:300*.8,height:300/StageProperties.CUATROTERCIOS*.1,alpha:.5,color:0x0022EE}, 
		      POINTER:{width:300*.8,height:300/StageProperties.CUATROTERCIOS*.1,alpha:.5,color: 0x00FF11},
		      TEXT:{ color:"#FFFFFF", fontStyle:"Courier New", textAlign:"left", fontSize:"16px" }
		      }
		};

		public static const CUATROTERCIOS_DOS_COLUMNAS:Object = {
		STAGE:{width:600,height:600/StageProperties.CUATROTERCIOS,align:StageAlign.TOP_LEFT,scaleMode:StageScaleMode.NO_SCALE},
		BACKGROUND:{width:600*.8, height:600/StageProperties.CUATROTERCIOS*.8, alpha:.35,color:0x000000},
		VIDEO:{x:0,y:0,width:600,height:600/StageProperties.CUATROTERCIOS,deblocking:5,smoothing:true},
		PORTADA:{x:0,y:0,width:600,height:600/StageProperties.CUATROTERCIOS, cacheAsBitmap:true},
		PLAY_BUTTON:{x:600*.5,y:600/StageProperties.CUATROTERCIOS*.5,alpha:.98},
		PAUSE_BUTTON:{x:600*.5,y:600/StageProperties.CUATROTERCIOS*.45,alpha:.98},
		STOP_BUTTON:{x:600*.25,y:600/StageProperties.CUATROTERCIOS*.65,alpha:.98},
		MAXIMIZE_BUTTON:{x:300*.75,y:300/StageProperties.CUATROTERCIOS*.65,alpha:.98},
		CARGADOR:{x:600*.5,y:600/StageProperties.CUATROTERCIOS*.65,alpha:.98},
		VOLUME:{ x:600*.1, y:600/StageProperties.CUATROTERCIOS*.1, width:80, minimum:0, maximum:100, value:80,
		      BACKGROUND:{width:600*.8,height:600/StageProperties.CUATROTERCIOS*.1,alpha:.5,color:0x0022EE}, 
		      POINTER:{width:600*.8,height:600/StageProperties.CUATROTERCIOS*.1,alpha:.5,color: 0x00FF11},
		      TEXT:{ color:"#FFFFFF", fontStyle:"Courier New", textAlign:"left", fontSize:"16px" }
		      },
		TIMELINE:{ x:600*.1, y:600/StageProperties.CUATROTERCIOS*.9, width:80, minimum:0, maximum:100, value:80,
		      BACKGROUND:{width:600*.8,height:600/StageProperties.CUATROTERCIOS*.1,alpha:.5,color:0x0022EE}, 
		      POINTER:{width:600*.8,height:600/StageProperties.CUATROTERCIOS*.1,alpha:.5,color: 0x00FF11},
		      TEXT:{ color:"#FFFFFF", fontStyle:"Courier New", textAlign:"left", fontSize:"16px" }
		      }
		};

		public static const DIECISEISNOVENOS_UNA_COLUMNA:Object = {
		STAGE:{width:300,height:300/StageProperties.DIECISEISNOVENOS,align:StageAlign.TOP_LEFT,scaleMode:StageScaleMode.NO_SCALE},
		BACKGROUND:{width:300*.8, height:300/StageProperties.DIECISEISNOVENOS*.8, alpha:.35,color:0x000000},
		VIDEO:{x:0,y:0,width:300,height:300/StageProperties.DIECISEISNOVENOS,deblocking:5,smoothing:true},
		PORTADA:{x:0,y:0,width:300,height:300/StageProperties.DIECISEISNOVENOS, cacheAsBitmap:true},
		PLAY_BUTTON:{x:300*.5,y:300/StageProperties.DIECISEISNOVENOS*.5,alpha:.98},
		PAUSE_BUTTON:{x:300*.5,y:300/StageProperties.DIECISEISNOVENOS*.45,alpha:.98},
		STOP_BUTTON:{x:300*.25,y:300/StageProperties.DIECISEISNOVENOS*.65,alpha:.98},
		MAXIMIZE_BUTTON:{x:300*.75,y:300/StageProperties.DIECISEISNOVENOS*.65,alpha:.98},
		CARGADOR:{x:300*.5,y:300/StageProperties.DIECISEISNOVENOS*.65,alpha:.98},
		VOLUME:{ x:300*.1, y:300/StageProperties.DIECISEISNOVENOS*.1, width:80, minimum:0, maximum:100, value:80,
		      BACKGROUND:{width:300*.8,height:300/StageProperties.DIECISEISNOVENOS*.1,alpha:.5,color:0x0022EE}, 
		      POINTER:{width:300*.8,height:300/StageProperties.DIECISEISNOVENOS*.1,alpha:.5,color: 0x00FF11},
		      TEXT:{ color:"#FFFFFF", fontStyle:"Courier New", textAlign:"left", fontSize:"12px" }
		      },
		TIMELINE:{ x:300*.1, y:300/StageProperties.DIECISEISNOVENOS*.9, width:80, minimum:0, maximum:100, value:80,
		      BACKGROUND:{width:300*.8,height:300/StageProperties.DIECISEISNOVENOS*.1,alpha:.5,color:0x0022EE}, 
		      POINTER:{width:300*.8,height:300/StageProperties.DIECISEISNOVENOS*.1,alpha:.5,color: 0x00FF11},
		      TEXT:{ color:"#FFFFFF", fontStyle:"Courier New", textAlign:"left", fontSize:"12px" }
		      }
		
		};

		public static const DIECISEISNOVENOS_DOS_COLUMNAS:Object = {
		STAGE:{width:600,height:600/StageProperties.DIECISEISNOVENOS,align:StageAlign.TOP_LEFT,scaleMode:StageScaleMode.NO_SCALE},
		VIDEO:{x:0,y:0,width:600,height:600/StageProperties.DIECISEISNOVENOS,deblocking:5,smoothing:true},
		PORTADA:{x:0,y:0,width:600,height:600/StageProperties.DIECISEISNOVENOS, cacheAsBitmap:true},
		PLAY_BUTTON:{x:600*.5,y:600/StageProperties.DIECISEISNOVENOS*.5,alpha:.98},
		PAUSE_BUTTON:{x:600*.5,y:600/StageProperties.DIECISEISNOVENOS*.45,alpha:.98},
		STOP_BUTTON:{x:600*.25,y:600/StageProperties.DIECISEISNOVENOS*.65,alpha:.98},
		MAXIMIZE_BUTTON:{x:0,y:0,width:600,height:600/StageProperties.DIECISEISNOVENOS,visible:true,enabled:true},
		BACKGROUND:{width:600*.8, height:600/StageProperties.DIECISEISNOVENOS*.8, alpha:.35,color:0x000000},
		CARGADOR:{x:600*.5,y:600/StageProperties.DIECISEISNOVENOS*.65,alpha:.98},
		VOLUME:{ x:600*.1, y:600/StageProperties.DIECISEISNOVENOS*.1, width:80, minimum:0, maximum:100, value:80,
		      BACKGROUND:{width:600*.8,height:600/StageProperties.DIECISEISNOVENOS*.1,alpha:.5,color:0x0022EE}, 
		      POINTER:{width:600*.8,height:600/StageProperties.DIECISEISNOVENOS*.1,alpha:.5,color: 0x00FF11},
		      TEXT:{ color:"#FFFFFF", fontStyle:"Courier New", textAlign:"left", fontSize:"16px" }
		      },
		TIMELINE:{ x:600*.1, y:600/StageProperties.DIECISEISNOVENOS*.9, width:80, minimum:0, maximum:100, value:80,
		      BACKGROUND:{width:600*.8,height:600/StageProperties.DIECISEISNOVENOS*.1,alpha:.5,color:0x0022EE}, 
		      POINTER:{width:600*.8,height:600/StageProperties.DIECISEISNOVENOS*.1,alpha:.5,color: 0x00FF11},
		      TEXT:{ color:"#FFFFFF", fontStyle:"Courier New", textAlign:"left", fontSize:"16px" }
		      }
		};
	}
}